package com.example.shellcollector.MyAnimate;

import android.content.Context;
import android.graphics.Typeface;
import android.util.AttributeSet;
import android.widget.TextView;

import androidx.preference.PreferenceCategory;
import androidx.preference.PreferenceViewHolder;

public class MyPreferenceCategory extends PreferenceCategory {

    public MyPreferenceCategory(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    @Override
    public void onBindViewHolder(PreferenceViewHolder holder) {
        super.onBindViewHolder(holder);
        TextView textView =(TextView)holder.findViewById(android.R.id.title);
        textView.setTextSize(24);
        textView.setLetterSpacing(0.1f);
        textView.setTypeface(Typeface.SANS_SERIF,Typeface.BOLD);
        textView.setTextColor(0xFF1476D2);

    }
}
